package com.example.geguo.nettyclientchatdemo.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class MyTime {

	// 06-12 08:32:33

	public static String geTime() {
		Date date = new Date(System.currentTimeMillis());
		SimpleDateFormat formate = new SimpleDateFormat("MM-dd HH:mm:ss");
		return formate.format(date);
	}
}
